package org.feng.client.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * TODO
 *
 * @author feng
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PlantImageClassifyResponse extends BaiDuResponse {

    private static final long serialVersionUID = 6001412211828149506L;

    private List<Result> result;

    @Data
    public static class Result implements Serializable {

        private static final long serialVersionUID = -3339669052470755232L;
        private String name;
        private BigDecimal score;
        @JsonProperty("baike_info")
        private BaiKeInfo baiKeInfo;
    }
}
